import random

def menu():
    print()

menu()
while True:
    print('1、点歌\n2、增加歌曲\n3、增加歌手\n4、退出')
    singer = ['王梅','曾雨林','冯老师']
    music = ['醉赤壁','朋友']
    print('歌手有{}'.format(singer))
    print('曲库中的歌：{}'.format(music))
    i = int(input('请选择：'))
    if i == 1:
        print(random.choices(singer))
        print(random.choices(music))
    elif i == 2:
        s = input('请输入要加入的歌曲：')
        music.append('{}'.format(s))
        print('{}'.format(music))
        print(random.choices(singer))
        print(random.choices(music))

    elif i == 3:
        m = input('请输入要加入的歌手名：')
        singer.append('{}'.format(m))
        print('{}'.format(singer))
        print(random.choices(singer))
        print(random.choices(music))
    elif i == 4:
        exit()